package tutorial.jmh;

import java.util.concurrent.TimeUnit;

import org.openjdk.jmh.annotations.Mode;
import org.openjdk.jmh.runner.Runner;
import org.openjdk.jmh.runner.options.Options;
import org.openjdk.jmh.runner.options.OptionsBuilder;

public class Start { 
	 
	
    public static void main(String... args) throws Exception {
//        Main.main(args);
        Options opt = new OptionsBuilder()
        .include(".*" + TestStringhe.class.getSimpleName() + ".*")
        .warmupIterations(5)
        .mode(Mode.AverageTime)
        .timeUnit(TimeUnit.MICROSECONDS)
        .measurementIterations(5)
        .forks(1)
        .build();

        new Runner(opt).run();
    }
}
